package test2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-04-22
 * Time: 21:26
 */
public class Class {
    private String classNumber;
    private String major;
    private String headMaster;
    private Student[] students;//班级学生

    public Class(String classNumber, String major, String headMaster, Student[] students) {
        this.classNumber = classNumber;
        this.major = major;
        this.headMaster = headMaster;
        this.students = students;
    }

    public String getClassNumber() {
        return classNumber;
    }

    public void setClassNumber(String classNumber) {
        this.classNumber = classNumber;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getHeadMaster() {
        return headMaster;
    }

    public void setHeadMaster(String headMaster) {
        this.headMaster = headMaster;
    }

    public Student[] getStudents() {
        return students;
    }

    public void setStudents(Student[] students) {
        this.students = students;
    }
}
